#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main(){
	int a = 0, b = 0;
	int S = 0, C = 0, J = 0, Sa = 0;
	scanf("%d %d", &a, &b);
	S = a + b;
	C = a - b;
	J = a*b;
	Sa = a / b;
	printf("%d + %d = %d\n", a, b, S);
	printf("%d - %d = %d\n", a, b, C);
	printf("%d * %d = %d\n", a, b, J);
	printf("%d / %d = %d\n", a, b, Sa);
	return 0;
}